package com.haojiang.mh.service.entity;

/**
 * 周报评分Bean
 * <p>
 * Created by ZapFive on 2019-05-25.
 * <p>
 * wuzhuang@mirahome.me
 */
public class EvaluateBean {

    private String date;//2017-07-14
    private int score = -1;

    public String getDay() {
        return date.substring(8);
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public boolean isNull() {
        return score == -1;
    }

    @Override
    public String toString() {
        return "EvaluateBean{" +
                "date='" + date + '\'' +
                ", score=" + score +
                '}';
    }
}